home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 November / CPNL0711.ISO / admin / secure / Tor - Privoxy - Vidalia.exe / Privoxy / templates / edit-actions-add-url-form < prev    next >
Text File  |  2006-11-04  |  7KB  |  214 lines

  1. ##############################################################################
  2. #
  3. # File        :  $Source: /cvsroot/ijbswa/current/templates/edit-actions-add-url-form,v $
  4. #
  5. # Purpose     :  Template used to add a URL pattern to the actions file.
  6. #
  7. #
  8. # Copyright   :  Written by and Copyright (C) 2001 the SourceForge
  9. #                Privoxy team. http://www.privoxy.org/
  10. #
  11. #                Original Author: Copyright (C) 2001 Jonathan Foster
  12. #                http://www.jon-foster.co.uk/
  13. #
  14. #                This program is free software; you can redistribute it 
  15. #                and/or modify it under the terms of the GNU General
  16. #                Public License as published by the Free Software
  17. #                Foundation; either version 2 of the License, or (at
  18. #                your option) any later version.
  19. #
  20. #                This program is distributed in the hope that it will
  21. #                be useful, but WITHOUT ANY WARRANTY; without even the
  22. #                implied warranty of MERCHANTABILITY or FITNESS FOR A
  23. #                PARTICULAR PURPOSE.  See the GNU General Public
  24. #                License for more details.
  25. #
  26. #                The GNU General Public License should be included with
  27. #                this file.  If not, you can view it at
  28. #                http://www.gnu.org/copyleft/gpl.html
  29. #                or write to the Free Software Foundation, Inc., 59
  30. #                Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  31. #
  32. # Revisions   :
  33. #    $Log: edit-actions-add-url-form,v $
  34. #    Revision 1.16  2006/07/18 14:49:13  david__schmidt
  35. #    Reorganizing the repository: swapping out what was HEAD (the old 3.1 branch)
  36. #    with what was really the latest development (the v_3_0_branch branch)
  37. #
  38. #    Revision 1.14.2.2  2002/08/23 02:22:53  hal9
  39. #    Fix a perl brain fart with <li> in comments.
  40. #
  41. #    Revision 1.14  2002/05/21 19:10:30  oes
  42. #     - Added jump target and button style to "cancel" link
  43. #     - Fixed title
  44. #
  45. #    Revision 1.13  2002/04/10 13:32:53  oes
  46. #    Made templates modular
  47. #
  48. #    Revision 1.12  2002/04/08 17:08:14  oes
  49. #    Cosmetic: make status in title lowercase
  50. #
  51. #    Revision 1.11  2002/04/05 16:01:33  oes
  52. #    Correct HTML, external Stylesheets, eye candy, some fixes
  53. #
  54. #    Revision 1.10  2002/03/26 22:29:56  swa
  55. #    we have a new homepage!
  56. #
  57. #    Revision 1.9  2002/03/24 15:23:33  jongfoster
  58. #    Name changes
  59. #
  60. #    Revision 1.8  2002/03/24 11:01:06  swa
  61. #    name change
  62. #
  63. #    Revision 1.7  2002/03/23 16:18:15  swa
  64. #    renamed every reference to the old name with foobar.
  65. #    fixed "application foobar application" tag, fixed
  66. #    "the foobar" with "foobar". left junkbuster in cvs
  67. #    comments and remarks to history untouched. should
  68. #    make final rename easier.
  69. #
  70. #    Revision 1.6  2002/03/16 15:22:19  jongfoster
  71. #    Moving 'alpha' warning to the end of the page
  72. #
  73. #    Revision 1.5  2002/03/03 10:29:12  swa
  74. #    point users to the right feedback forms,
  75. #    not necessarily the developer list.
  76. #
  77. #    Revision 1.4  2002/01/23 00:26:45  jongfoster
  78. #    Reducing length of URLs
  79. #    Where encoded and unencoded versions of a string existed, removing
  80. #    the unencoded one.
  81. #
  82. #    Revision 1.3  2002/01/17 21:33:00  jongfoster
  83. #    Replacing all references to the URL of the config interface
  84. #    with @default-cgi@
  85. #
  86. #    Revision 1.2  2002/01/17 21:21:03  jongfoster
  87. #    DOS->Unix line endings
  88. #
  89. #    Revision 1.1  2001/11/13 00:58:18  jongfoster
  90. #    New version of actions file editor templates
  91. #
  92. #
  93. ##############################################################################
  94. #
  95. # Standard support:
  96. #
  97. # This file currently produces valid HTML 4.01 Strict.
  98. #
  99. # If you change it, please save the generated page from your web browser
  100. # and then upload it to http://validator.w3.org/ for checking.
  101. #
  102. #############################################################################
  103. #
  104. # Available variables include:
  105. #
  106. # filename
  107. # ver
  108. # section
  109. #
  110. #############################################################################
  111. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  112. <html>
  113. <head>
  114.   <meta http-equiv="Content-Style-Type" content="text/css">
  115.   <meta http-equiv="Content-Script-Type" content="text/javascript">
  116.   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  117.   <meta name="robots" content="noindex,nofollow">
  118.   <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
  119.  
  120.   <title>Privoxy@@my-hostname@: Add URL Pattern</title>
  121.  
  122.   <script type="text/javascript">
  123. <!--
  124.   function validate(text)
  125.   {
  126.   if (text=="")
  127.   {
  128.     alert("You need to type a pattern in order to continue!");
  129.     return false;
  130.   }
  131.  
  132.   return true;
  133. }
  134. //-->
  135.   </script>
  136. </head>
  137.  
  138. <body>
  139.  
  140.   <table cellpadding="20" cellspacing="10" border="0" width="100%">
  141.     <tr>
  142.       <td class="title">
  143.  
  144. #include mod-title
  145.  
  146.       </td>
  147.     </tr>
  148.  
  149. <!-- @if-unstable-start -->
  150. # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
  151.     <tr>
  152.       <td class="warning">
  153.  
  154. #include mod-unstable-warning
  155.  
  156.       </td>
  157.     </tr>
  158. <!-- if-unstable-end@ -->
  159.  
  160.     <tr>
  161.       <td class="box">
  162.         <h2>Add URL Pattern</h2>
  163.         <form method="GET" action="edit-actions-add-url"
  164.               onSubmit="return validate(u.value);">
  165.           <p>
  166.             <input type="hidden" name="f" value="@f@">
  167.             <input type="hidden" name="v" value="@v@">
  168.             <input type="hidden" name="s" value="@s@">
  169.             <input type="text" name="u" value="" size="78"><br>
  170.             <input type="submit" value="Submit">  
  171.             <input type="reset" value="Reset">  
  172.             <a class="cmd" href="edit-actions-list?f=@f@#l@s@">Cancel</a>
  173.           </p>
  174.         </form>
  175.       </td>
  176.     </tr>
  177.  
  178.     <tr>
  179.       <td class="box">
  180.         <h2>More Privoxy:</h2>
  181.         <ul>@menu@<li><a href="@user-manual@">Documentation</a></li></ul>
  182.       </td>
  183.     </tr>
  184.  
  185.     <tr>
  186.       <td class="info">
  187.  
  188. #include mod-support-and-service
  189.  
  190.       </td>
  191.     </tr>
  192.  
  193. <!-- @if-have-help-info-start -->
  194.     <tr>
  195.       <td class="info">
  196.  
  197. #include mod-local-help
  198.  
  199.       </td>
  200.     </tr>
  201. <!-- if-have-help-info-end@ -->
  202.  
  203.     <tr>
  204.       <td>
  205.         <p class="small">Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></p>
  206.       </td>
  207.     </tr>
  208.  
  209.   </table>
  210.  
  211. </body>
  212. </html>
  213.  
  214.